* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.top-ad {
    background-color: #FFA500;
    color: white;
    padding: 10px;
    border: 2px solid #FF8C00;
    margin-bottom: 5px;
}

.ad-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

.nav-bar {
    background-color: white;
    border: 2px solid #000000;
    padding: 10px;
    margin-bottom: 5px;
}

.main-content {
    display: flex;
    margin-bottom: 5px;
}

.carousel-container {
    flex: 1;
    border: 2px solid #FF8C00;
    margin-right: 5px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.hot-content {
    flex: 1;
    border: 2px solid #000000;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-block {
    border: 2px solid #000000;
    height: 150px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#backToTopBtn {
    background-color: white;
    border: 2px solid #FF8C00;
    color: #FF8C00;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

#backToTopBtn:hover {
    background-color: #FF8C00;
    color: white;
}